Command Class Reference

#include <Command.h>

Inheritance diagram for Command:

CommandCopy CommandCut CommandDelete CommandDeselect CommandDeselectAll CommandInsertEnvObj CommandInsertTrafficLight CommandInsertTrafficSign CommandInsertVehicle CommandPaste CommandRotate CommandSelect CommandSelectAll CommandTranslate List of all members.

Public Member Functions

virtual ~Command ()
virtual bool execute ()=0
virtual bool unexecute ()=0

Detailed Description

A Command class.Abstract class for other commands.


Constructor & Destructor Documentation

virtual Command::~Command (   )  [inline, virtual]
 

A destructor. Make free your resources in subclasses.


Member Function Documentation

virtual bool Command::execute (   )  [pure virtual]
 

A pure virtual member.

Implemented in CommandCopy, CommandCut, CommandDelete, CommandDeselect, CommandDeselectAll, CommandInsertEnvObj, CommandInsertTrafficLight, CommandInsertTrafficSign, CommandInsertVehicle, CommandPaste, CommandRotate, CommandSelect, CommandSelectAll, and CommandTranslate.

virtual bool Command::unexecute (   )  [pure virtual]
 

A pure virtual member.

Implemented in CommandCopy, CommandCut, CommandDelete, CommandDeselect, CommandDeselectAll, CommandInsertEnvObj, CommandInsertTrafficLight, CommandInsertTrafficSign, CommandInsertVehicle, CommandPaste, CommandRotate, CommandSelect, CommandSelectAll, and CommandTranslate.


The documentation for this class was generated from the following file:
Generated on Sun May 28 18:44:00 2006 by  doxygen 1.4.6-NO